<template>
  <div class="header">{{ txt }}</div>
</template>

<script>
export default {
  props: {
    txt: {
      type: String,
      default: "标题",
    },
  },
};
</script>

<style scoped>
.header {
  width: 100%;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px #ccc solid;
  text-align: center;
}
</style>
